#ifndef _TRIANGLE_FACTORY_H
#define _TRIANGLE_FACTORY_H

#include "Triangle.h"

class TriangleFactory{
	private:
		std::vector<Triangle *> triangles;
		static TriangleFactory *tf;

		TriangleFactory(){

		}

	public:
		static TriangleFactory *getInstance();

		void reset();

		Triangle* createTriangle(Point *p0, Point *p1, Point *p2, vector3 initNorm);

};

#endif